package com.openbravo.pos.panels;

import java.util.Enumeration;
import javax.swing.tree.TreeNode;

public class SQLColumn
  implements TreeNode
{
  private SQLTable m_table;
  private String m_sName;

  public SQLColumn(SQLTable paramSQLTable, String paramString)
  {
    this.m_table = paramSQLTable;
    this.m_sName = paramString;
  }

  public String toString()
  {
    return this.m_sName;
  }

  public Enumeration children()
  {
    return null;
  }

  public boolean getAllowsChildren()
  {
    return false;
  }

  public TreeNode getChildAt(int paramInt)
  {
    throw new ArrayIndexOutOfBoundsException();
  }

  public int getChildCount()
  {
    return 0;
  }

  public int getIndex(TreeNode paramTreeNode)
  {
    throw new ArrayIndexOutOfBoundsException();
  }

  public TreeNode getParent()
  {
    return this.m_table;
  }

  public boolean isLeaf()
  {
    return true;
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.panels.SQLColumn
 * JD-Core Version:    0.6.0
 */